package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.ChatMessage;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/26 8:34
 * @description:
 */
@Getter
@Setter
@ToString
public class ChatResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = -411824205740462183L;

    private ChatMessage chatMessage;

    public void setMessage(ChatMessage chatMessage) {
        this.chatMessage = chatMessage;
    }

    @Override
    public int getMessageType() {
        return ChatResponseMessage;
    }
}
